﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Processs
{
    /// <summary>
    /// 工序
    /// </summary>
    public class PSrocess
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序分类
        /// </summary>
        public int ProcessTypeId {  get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string User {  get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public string DeptName {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State {  get; set; }
        /// <summary>
        /// 工序数量
        /// </summary>
        public int? ProcessCount {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
